#include "Keyboard.h"
#include<stdlib.h>

Keyboard::Keyboard(void)
{
}

Keyboard::~Keyboard(void)
{
}

/* This function is called when a key is pressed. This is where you would treat your hotkeys. 27 is the code of the ESC key so in this example you would quit the program when the esc key is pressed*/
void Keyboard::press(unsigned char key, int x, int y)
{
	switch (key)
	{
		case 27:
			exit(0);
			break;
	}
}